package com.itdct.onflow.system.account.constant

/**
 * @author Zhouwx
 * @date 2025/8/22 14:10:08
 * @version 1.0
 * @description
 */
object SysAccountRedisKey {
    val LOGIN_TOKEN: (String) -> String = { token -> "login:token:${token}" }
    val LOGIN_TOKEN_REFRESH_INTERVAL: (String) -> String = { token -> "login:token-refresh-interval:${token}" }
    val LOGIN_ID: (Long, String) -> String = { id: Long, clientType: String -> "login:id:${id}:${clientType}" }
    val LOGIN_FAIL_RECORD: (String) -> String = { ip -> "login:fail:ip:${ip}" }
    val LOGIN_IP_LOCK: (String) -> String = { ip -> "login:lock:ip:${ip}" }
    val UID_KEY = "account:uid"
}